package Classes.GameViews.ViewScenes// ActionScript file
{
	import Classes.GameViews.GV_Map;
	import Classes.GameViews.ViewPanels.VP_Main;

	public class VS_Main extends ViewScene
	{
		private static var _instance:VS_Main;/*静态引用*/
		public function VS_Main():void
		{
			_instance=this;
			this.init();
		}
		
		private function init():void
		{
			this.layerCommon.addChild(new GV_Map);
		}
		
		override public function open():void
		{
			super.open();
			VP_Main.instance.openAt(this);
		}

		/*getter & setter*/
		public static function get instance():VS_Main
		{
			if(!_instance)_instance=new VS_Main;
			return _instance;
		}

	}
}